import Cookies from 'js-cookie'
const set = (key, value) => {
    Cookies.set(key, value)

}
const setex = (key, value, expire) => {
    Cookies.set('name', 'value', { expires: 7 });
}
const getcookie = (key) => {
    return Cookies.get(key);

}
export default {
    set, setex,getcookie
}